/*
 * @Author: 梁卓
 * @Date: 2022-02-15 21:34:54
 * @LastEditTime: 2022-02-15 21:36:32
 * @LastEditors: Please set LastEditors
 * @Description: echarts数据
 * @FilePath: \dreamUi\src\store\echarst.js
 */

/*
 * @Author: 梁卓
 * @Date: 2022-01-28 21:45:59
 * @LastEditTime: 2022-02-12 21:39:39
 * @LastEditors: Please set LastEditors
 * @Description: vuex
 * @FilePath: \dreamUi\src\store\index.js
 */
import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    // 缓存用户信息
    signNum: 0
  },
  mutations: {
    setSignNum(state, data) {
      state.signNum = data;
    },
  },
  actions: {},
  modules: {},
});

